package com.stylefeng.guns.modular.system.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.List;
import java.util.Map;

public class MyCityWarpper extends BaseControllerWarpper {
    public MyCityWarpper(List<Map<String, Object>> list) {
        super(list);
    }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        Integer examine = (Integer) map.get("examine");
        System.out.println("!!!!!!!!!!!!!!!!"+examine);
        String state = ConstantFactory.me().getDictsByName("发布状态", examine);
        System.out.println("发布状态--"+state);
        map.put("examineName",  ConstantFactory.me().getDictsByName("发布状态",(Integer) map.get("examine")));

    }
}
